package com.ghbank.rdws.common.dto;

import javax.validation.constraints.NotBlank;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.ghbank.rdws.common.utils.DateToStringStyle;

public class ApiBaseDTO {
    @NotBlank(message = "交易流水号不能为空")
    private String seq;
    @NotBlank(message = "token不能为空")
    private String token;

    public String getSeq() {
        return seq;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }
    
    public String toString() {
        return ToStringBuilder.reflectionToString(this, DateToStringStyle.DEFAULT_STYLE);
    }

}
